import axios from "@/utils/request";
import API from "./index";

export function getEvent(params) {
    return axios({
        method: "get",
        url: `${API.EVENT}/get`,
        params,
    });
}

export function getEra() {
    return axios({
        method: "get",
        url: `${API.ERA}/get`,
    });
}
